
<form name="editForm" role="form" novalidate ng-submit="vm.save()">

    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"
                ng-click="vm.clear()">&times;</button>
        <h4 class="modal-title" id="mySancaiLabel" data-translate="divinationApp.sancai.home.createOrEditLabel">Create or edit a Sancai</h4>
    </div>
    <div class="modal-body">
        <jhi-alert-error></jhi-alert-error>
        <div class="form-group" ng-show="vm.sancai.id">
            <label for="id" data-translate="global.field.id">ID</label>
            <input type="text" class="form-control" id="id" name="id"
                    ng-model="vm.sancai.id" readonly />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="divinationApp.sancai.title" for="field_title">Title</label>
            <input type="text" class="form-control" name="title" id="field_title"
                    ng-model="vm.sancai.title"
                    />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="divinationApp.sancai.yy" for="field_yy">Yy</label>
            <input type="text" class="form-control" name="yy" id="field_yy"
                    ng-model="vm.sancai.yy"
                    />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="divinationApp.sancai.jx" for="field_jx">Jx</label>
            <input type="text" class="form-control" name="jx" id="field_jx"
                    ng-model="vm.sancai.jx"
                    />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="divinationApp.sancai.content" for="field_content">Content</label>
                <textarea class="form-control" name="content" id="field_content"
                    ng-model="vm.sancai.content" ></textarea>
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="divinationApp.sancai.jcy" for="field_jcy">Jcy</label>
                <textarea class="form-control" name="jcy" id="field_jcy"
                    ng-model="vm.sancai.jcy" ></textarea>
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="divinationApp.sancai.jx1" for="field_jx1">Jx 1</label>
            <input type="text" class="form-control" name="jx1" id="field_jx1"
                    ng-model="vm.sancai.jx1"
                    />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="divinationApp.sancai.cgy" for="field_cgy">Cgy</label>
                <textarea class="form-control" name="cgy" id="field_cgy"
                    ng-model="vm.sancai.cgy" ></textarea>
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="divinationApp.sancai.jx2" for="field_jx2">Jx 2</label>
            <input type="text" class="form-control" name="jx2" id="field_jx2"
                    ng-model="vm.sancai.jx2"
                    />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="divinationApp.sancai.rjgx" for="field_rjgx">Rjgx</label>
                <textarea class="form-control" name="rjgx" id="field_rjgx"
                    ng-model="vm.sancai.rjgx" ></textarea>
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="divinationApp.sancai.jx3" for="field_jx3">Jx 3</label>
            <input type="text" class="form-control" name="jx3" id="field_jx3"
                    ng-model="vm.sancai.jx3"
                    />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="divinationApp.sancai.xg" for="field_xg">Xg</label>
                <textarea class="form-control" name="xg" id="field_xg"
                    ng-model="vm.sancai.xg" ></textarea>
        </div>

    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal" ng-click="vm.clear()">
            <span class="glyphicon glyphicon-ban-circle"></span>&nbsp;<span data-translate="entity.action.cancel">Cancel</span>
        </button>
        <button type="submit" ng-disabled="editForm.$invalid || vm.isSaving" class="btn btn-primary">
            <span class="glyphicon glyphicon-save"></span>&nbsp;<span data-translate="entity.action.save">Save</span>
        </button>
    </div>
</form>
